package com.sptpc.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class RouterController {
    @GetMapping
    public String Login(){
        return "manage/login";
    }
    //后台首页路由
    // get /manage/index ->manage/index
    @GetMapping("/manage/index")
    public String index(){
        return "manage/index";
    }
    //后台欢迎页路由
    @GetMapping("/manage/welcome")
    public String welcome(){
        return "manage/welcome";
    }
    //饮品管理首页路由
    //get /menu/drink
}
